package cn.kilo.trigger.api;

import cn.kilo.trigger.api.dto.user.UserDTO;
import cn.kilo.types.model.Response;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author kilok
 */
public interface IUserService {

    Response<?> login(UserDTO userDTO);

    Response<?> register(UserDTO userDTO);

    Response<?> updateImage(String userId,MultipartFile image);

    Response<?> updateUserInfo(UserDTO userDTO);

    Response<?> getUserInformation(UserDTO userDTO);

    Response<?> getUserRole(UserDTO userDTO);

    Response<?> registerToStaff(UserDTO userDTO);

    Response<?> beStaff(UserDTO userDTO);

    Response<?> setLocation(UserDTO userDTO);

    Response<?> getPrivatePolicy();

    Response<?> getAgreement();

    Response<?> problem(UserDTO userDTO);

    Response<?> problemPicture(String judgeId,MultipartFile image);

    Response<?> setPost(UserDTO userDTO);

    Response<?> getAllOrder(UserDTO userDTO);

}
